package com.example.wishstar.model;

public class NewHabit {
    public int userId;
    public String habitTitle;
    public int habitIcon;
    public String frequency;

    public NewHabit(int userId, String habitTitle, int habitIcon, String frequency) {
        this.userId = userId;
        this.habitTitle = habitTitle;
        this.habitIcon = habitIcon;
        this.frequency = frequency;
    }

    public NewHabit(int userId, String frequency) {
        this.userId = userId;
        this.frequency = frequency;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getHabitTitle() {
        return habitTitle;
    }

    public void setHabitTitle(String habitTitle) {
        this.habitTitle = habitTitle;
    }

    public int getHabitIcon() {
        return habitIcon;
    }

    public void setHabitIcon(int habitIcon) {
        this.habitIcon = habitIcon;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    @Override
    public String toString() {
        return "NewHabit{" +
                "userId=" + userId +
                ", habitTitle='" + habitTitle + '\'' +
                ", habitIcon=" + habitIcon +
                ", frequency='" + frequency + '\'' +
                '}';
    }
}
